package com.alphacsp.theedge2012.data.database;

import com.alphacsp.theedge2012.network.WebserviceClient;

/**
 * Created by IntelliJ IDEA.
 * User: Gilad
 * Date: 30/10/10
 * Time: 13:42
 */
public enum ServicesEnum {

    SPEAKERS(WebserviceClient.SPEAKERS_SERVICE_URL, DatabaseHelper.SPEAKERS_TABLE),
    SESSIONS(WebserviceClient.SESSIONS_SERVICE_URL, DatabaseHelper.SESSIONS_TABLE),
    SCHEDULE(WebserviceClient.SCHEDULE_SERVICE_URL, DatabaseHelper.SCHEDULE_TABLE);

    private final String serviceUrl;
    private final String serviceTable;

    ServicesEnum(String serviceUrl, String serviceTable) {
        this.serviceUrl = serviceUrl;
        this.serviceTable = serviceTable;
    }

    public String getServiceUrl() {
        return serviceUrl;
    }

    public String getServiceTable() {
        return serviceTable;
    }
}
